package com.itheima.test1;

public class Test1GouZao {
    public static void main(String[] args) {
        //过时
        Integer integer = new Integer("100");
        Integer integer1 = new Integer(100);
        System.out.println(integer);
        System.out.println(integer1);
        //新版
        Integer integer2 = Integer.valueOf("200");
        Integer integer3 = Integer.valueOf(200);
        System.out.println(integer2);
        System.out.println(integer3);
    }
}
